{% load admin_interface_tags %}

{% if theme.favicon %}
<link rel="icon" href="{{ theme.favicon.url }}">
{% if theme.env_visible_in_favicon %}
<script src="{% get_admin_interface_static 'admin_interface/favico/favico-0.3.10-patched.min.js' %}"></script>
<script src="{% get_admin_interface_static 'admin_interface/favico/favico-env.js' %}" data-env-color="{{ theme.env_color }}"></script>
{% endif %}
{% endif %}
